package com.czxy.dao;

import com.czxy.domain.Order;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface OrderMapper {



    @Select("select * from `order`  where  user_id = #{uid}")
    public List<Order> findOrdersByUserId(@Param("uid") Integer uid);
}
